const render = require('koa-art-template');
const path = require('path');

module.exports = (app) => {
    render(app, {
        root: path.join(__dirname, './views'),
        extname: '.html',
        debug: process.env.NODE_ENV !== 'production'
    });
};